﻿namespace Hourglass.Qrobot.Models
{
    public sealed class Location
    {
        /// <summary>
        /// 国家
        /// </summary>
        public string Country { get; set; }

        /// <summary>
        /// 省份
        /// </summary>
        public string Province { get; set; }

        /// <summary>
        /// 城市
        /// </summary>
        public string City { get; set; }

        public Location() : this("unknow", "unknow", "unknow") { }

        public Location(string country, string province, string city)
        {
            this.Country = country;
            this.Province = province;
            this.City = city;
        }
    }
}
